package service;

import pojo.Student;
import pojo.User;

import java.util.List;

public interface StudentService {


    //定义行为 crud
    //查询用户
    List<Student> findAll(Student stu, int offset, int pageSize);


    int count(Student stu);

    int deleteStudentById(int id);

    int addStudent(Student stu);

    Student findStudentById(int id);

    int updateStudent(Student stu);


    boolean login(User user);
}
